<template>
	<view class="wrap">
		<view class="workbench-title">常用应用</view>
		<view class="toolbar">
			<u-grid class="grid" :col="4" :border="false">
				<u-grid-item :index="0" @click="navTo('/pages/sys/notice/publish')" >
					<u-avatar src="/static/notice/notice.jpg"></u-avatar>
					<view class="grid-text">发送通知</view>
				</u-grid-item>
				<u-grid-item :index="0" @click="navTo('/pages/sys/notice/publish')" >
					<u-avatar src="/static/notice/notice.jpg"></u-avatar>
					<view class="grid-text">发送作业</view>
				</u-grid-item>
				<u-grid-item :index="0" @click="navTo('/pages/sys/class/index')" >
					<u-avatar src="/static/notice/notice.jpg"></u-avatar>
					<view class="grid-text">朋友圈</view>
				</u-grid-item>
			</u-grid>
		</view>
		<u-divider>已经到底了</u-divider>
	</view>
	
</template>
<script>
export default {
	data() {
		return {
		};
	},
	onLoad() {
		
	},
	methods: {
		navTo(url) {
			uni.navigateTo({
				url: url
			});
		}
	}
};
</script>
<style lang="scss">
@import 'index.scss';
.banner-box{
	padding: 0 2%;
	width: 96%;
	height: 170rpx;
	margin: 30rpx 0 30rpx;
}
.u-swiper-wrap{
	padding:0 10px;
}

.banner-pic{
	width: 47%;
	float: left;
	display: inline-block;
	margin: 0 1.5%;
}
.banner-pic image{
	width: 100%;
	height: 170rpx;
	border-radius: 12rpx;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.u-mode-light-info{
    background-color: #ffffff;
    color: #666666;
    border: 1px solid #e9ecf6;
	font-size: 12px;
	padding: 2px 8px;
	position: relative;
	top:-3px;
}
.workbench-title{
	font-size: 16px;
	font-weight: bold;
	color: #333333;
	padding: 15px 30px;
}
 .home-icon i.icon-tongzhi{
	font-size: 22px;
 }
</style>
